ordering fraction with same numerator